package com.webbei.product.action;

import java.util.List;

import com.webbei.product.service.ProductService;

public class GetAllStyle {
	private String url;
	private int productId;
	private List<String> urls;
	private ProductService ps;
	
	public String execute(){
		System.out.println("getAllStyle");
		urls = ps.getBgPicByUrl(url);
		System.out.println("urls..."+urls);
		return "success";
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public List<String> getUrls() {
		return urls;
	}
	public void setUrls(List<String> urls) {
		this.urls = urls;
	}
	public void setPs(ProductService ps) {
		this.ps = ps;
	}

}
